package data_structure.linkedList;

import lombok.Data;

/**
 * @ClassName : data_structure.linkedList.HeroNode
 * @Description : 类描述
 * Created by cyd on 2021-01-23 20:28:27
 */
@Data
public class HeroNode {
    private Integer no;
    private String name;
    private String nickname;
    private HeroNode next;

    public HeroNode(Integer no, String name, String nickname) {
        this.no = no;
        this.name = name;
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return "HeroNode:{no:" + no + ",name:" + name + ",nickname:" + nickname + "}";
    }
}
